package com.rs.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Attendance {
    private Integer id;
    private Integer attendanceNumber;
    private String attendanceName;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date attendanceDataTime;
    private String attendanceType;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAttendanceNumber() {
        return attendanceNumber;
    }

    public void setAttendanceNumber(Integer attendanceNumber) {
        this.attendanceNumber = attendanceNumber;
    }

    public String getAttendanceName() {
        return attendanceName;
    }

    public void setAttendanceName(String attendanceName) {
        this.attendanceName = attendanceName;
    }

    public Date getAttendanceDataTime() {
        return attendanceDataTime;
    }

    public void setAttendanceDataTime(Date attendanceDataTime) {
        this.attendanceDataTime = attendanceDataTime;
    }


    public String getAttendanceType() {
        return attendanceType;
    }

    public void setAttendanceType(String attendanceType) {
        this.attendanceType = attendanceType;
    }

    @Override
    public String toString() {
        return "Attendance{" +
                "id=" + id +
                ", attendanceNumber=" + attendanceNumber +
                ", attendanceName='" + attendanceName + '\'' +
                ", attendanceDataTime=" + attendanceDataTime +
                ", attendanceType='" + attendanceType + '\'' +
                '}';
    }
}
